From: Ilpo Järvinen Date: Thu, 16 Oct 2008 05:01:31 +0000 (-0700) Subject: nubus: fix mis-indented statement X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~26034 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi//%22https:/bugzilla.%22/%22http:/www.example.com/cgi/%22https:/bugzilla.%22?a=commitdiff_plain;h=2e0eb731e52ebfab177860e59e6e3464c2521839;p=linux-4.9.git nubus: fix mis-indented statement It seems this is the right way around because otherwise the len usage in the outer loop would be pretty pointless. Signed-off-by: Ilpo Järvinen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index 2f047e573d86..f5f75844954c 100644 --- a/drivers/nubus/nubus.c +++ b/drivers/nubus/nubus.c @@ -126,7 +126,7 @@ static void nubus_advance(unsigned char **ptr, int len, int map) { while(not_useful(p,map)) p++; - p++; + p++; len--; } *ptr = p;